package com.duke.finca.dao.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.duke.finca.dao.ProveedorDAO;
import com.duke.finca.dao.mappers.ProveedorMapper;
import com.duke.finca.domain.Proveedor;

@Repository
public class ProveedorDAOImpl extends GenericDAOImpl<Proveedor, ProveedorMapper> implements ProveedorDAO {

	@Autowired
	private ProveedorMapper mapper;
	
	@Override
	protected ProveedorMapper getMapper() {
		return mapper;
	}	

	public List<Proveedor> find(Proveedor proveedor) {
		// TODO Auto-generated method stub
		return null;
	}

	public Proveedor findByCodProveedor(Long id) {
		// TODO Auto-generated method stub
		return null;
	}

	public List<Proveedor> selectAll() {
		// TODO Auto-generated method stub
		return getMapper().selectAll();
	}

}
